//
//  MM_HomeSearchHeaderView.h
//  MallManage_IOS
//
//  Created by 张浩 on 2023/11/1.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^MM_HomeSearchHeaderSearchGoodsBlock)(NSString *goodsSearchStr);
typedef void(^MM_HomeSearchHeaderSearchShippingSpaceBlock)(NSString *shippingSpaceSearchStr);
typedef void(^MM_HomeSearchHeaderSearchFirstResponseBlock)(NSInteger index);
typedef void(^MM_HomeSearchHeaderSearchInquireBlock)(NSInteger index);
typedef void(^MM_HomeSearchHeaderSearchOldCodeBlock)(NSString *old_code);

@interface MM_HomeSearchHeaderView : UIView

@property (nonatomic, copy) NSString *searchStr;

@property (nonatomic, copy) MM_HomeSearchHeaderSearchGoodsBlock searchGoodsBlock;
@property (nonatomic, copy) MM_HomeSearchHeaderSearchShippingSpaceBlock searchShippingSpaceBlock;
@property (nonatomic, copy) MM_HomeSearchHeaderSearchFirstResponseBlock searchFirstResponseBlock;
@property (nonatomic, copy) MM_HomeSearchHeaderSearchInquireBlock searchInquireBlock;
@property (nonatomic, copy) MM_HomeSearchHeaderSearchOldCodeBlock oldCodeBlock;

@end

NS_ASSUME_NONNULL_END
